package com.lakeworks.processor.base;


import com.lakeworks.common.domain.base.event.IssueEvent;
import com.lakeworks.domain.TktProcess;

import java.util.function.Function;

@FunctionalInterface
public interface IssueProcessor<E extends IssueEvent> extends Function<E, TktProcess> {

    default public String getName() {
        return this.getClass().getSimpleName();
    }
}
